﻿<%@ Page Language="C#" MasterPageFile="~/default-interno.master" AutoEventWireup="true" CodeBehind="rfs.aspx.cs" Inherits="CeA.Reports.Atendimento.Web.admin.rfs" Title="[Q-WEB]: RFS" %>
<%@ Register Assembly="CeA.Reports.Atendimento.Web" Namespace="CeA.Reports.Atendimento.Web.ServerControls" TagPrefix="cc1" %>
<%@ Register src="../inc/WebControls/MenuInterno.ascx" tagname="menuInterno" tagprefix="uc1" %>
<%@ Register src="../inc/WebControls/MessageBox.ascx" tagname="MessageBox" tagprefix="uc2" %>
<asp:Content ID="head" ContentPlaceHolderID="head" runat="server">
  <link rel="Stylesheet" href="/css/popup.css" type="text/css" />
</asp:Content>

<asp:Content ID="filter" ContentPlaceHolderID="FilterContentPlaceholder" runat="server">
  <h2>Dados da RFS</h2>
  <table cellpadding="1px" cellspacing="1px">
    <tr>
      <td style="width:80px"> <label for="txtNome" class="label">Nome RFS</label> </td>
      <td>
        <asp:TextBox id="txtNome" runat="server" CssClass="text-field" MaxLength="128" Width="200px" />
      </td>
      <td>
        <asp:Button ID="cmdPesquisar" runat="server" CssClass="form-buttom" Text="Pesquisar" />
      </td>
    </tr>
  </table>
  <br />
  <asp:DataList ID="dtlRfs" runat="server" Width="100%" CellSpacing="1" CellPadding="0">
    <ItemStyle CssClass="cor-1" />
    <AlternatingItemStyle CssClass="cor-2" />
    <HeaderTemplate>
      <table cellpadding="0" cellspacing="0" border="0" style="width: 100%">
        <tr>
          <td colspan="3">
            <h2>Lista das RFS</h2>
          </td>
        </tr>
        <tr class="th">
          <td style="width: 21px">&nbsp</td>
          <td style="width: 300px">Nome RFS</td>
          <td style="width: auto">Descriç&atilde;o</td>
        </tr>
      </table>
    </HeaderTemplate>
    <ItemTemplate>
      <table cellpadding="0" cellspacing="0" style="width: 100%">
        <tr class="list-row">
          <td style="width: 21px">
            <cc1:GroupRadioButton ID="rbtItem" runat="server" GroupName="rfsid" Text='<%#DataBinder.Eval(Container.DataItem, "Id")%>' />
          </td>
          <td style="width: 300px">
            <%#DataBinder.Eval(Container.DataItem, "Nome")%></td>
          <td style="width: auto">
            <%#DataBinder.Eval(Container.DataItem, "Descricao")%></td>
        </tr>
      </table>
    </ItemTemplate>
    <FooterTemplate>
      <span class="break">
        <asp:Button ID="cmdEditar" runat="server" CssClass="form-buttom" Text="Editar" onclick="cmdEditar_Click" />
        <asp:Button ID="cmdExcluir" runat="server" CssClass="form-buttom" Text="Excluir" onclick="cmdExcluir_Click" />
      </span>
    </FooterTemplate>
  </asp:DataList>

  <uc2:MessageBox ID="MessageBox" runat="server" />

</asp:Content>


<asp:Content ID="menu" ContentPlaceHolderID="MenuInternoPlaceholder" runat="server">
  <uc1:menuInterno ID="menuInterno" runat="server" Titulo="Aç&otilde;es" />
</asp:Content>